<?php
$this->adgeek_view->backyard_header();
?>
<div id="tablesorter_container">
<table class="tablesorter">
	<thead>
		<tr>
			<?php foreach($table_header as $key=>$val){ 
					echo '<th>'.$table_header[$key].'</th>';
			} ?>
		</tr>
	</thead>
	<tbody>
		<?php foreach($afs_info as $child_key=>$child){
				echo '<tr>';
				foreach($child as $key=>$val){
					echo '<td>'.$val.'</td>';	
				}
				echo '<td><a onclick="getAFSCode(\''.$child['googleID'].'\',\''.$child['AFSName'].'\')" href="javascript:;">Get Code</a></td>';
				echo '</tr>';
		} ?>
	</tbody>
</table>
</div>
<?php
$this->adgeek_view->footer();
?>